package com.rabbiter.oes.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rabbiter.oes.entity.College;
import com.rabbiter.oes.vo.CollegeListVO;

import java.util.List;

public interface CollegeService {

    IPage<CollegeListVO> findPage(Page<CollegeListVO> page, String name);

    public List<College> findAllCollege();

    public Long findCountByName(String name);

    public College findById(Integer id);

    public int deleteById(Integer id);

    public int update(College college);

    public int add(College college);

}
